package com.hbisdt.cet.sample.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

/**
 * @Description
 * @Author Jiam
 * @Date 2025-03-27 10:55
 */
@Configuration
@Profile(value = "test")
public class TestDBConnector implements DBConnector {
    @Override
    public void configure() {
        System.out.println("测试环境数据库配置：使用MySQL测试服务器");
        System.out.println("连接URL: jdbc:mysql://test-db.hbisdt.com:3306/testdb");
        System.out.println("用户名: tester");
        System.out.println("密码: Test@1234");
        System.out.println("连接池大小: 20");
        System.out.println("初始化测试数据: true");
    }
}
